package com.site.wisdom_construction.dao.iotModule;

import com.site.wisdom_construction.entity.iotModule.HighSupportsRecord;
import com.site.wisdom_construction.statisticsResult.HighSupportsRecordByTypeName;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/8
 * @Description
 */
public interface HighSupportsRecordDao {
    /** 增加高支模告警信息 */
    int insertHighSupportsRecord(Map map);

    /** 根据测点id和数据查询告警信息 */
    List<HighSupportsRecord> findHighSupportsRecordByEquipmentId(Map map);

    /** 统计报警类型数据 */
    List<HighSupportsRecordByTypeName> countHighSupportsRecordByMeasurePoint(Map map);

    /** 统计报警总数 */
    List<HighSupportsRecordByTypeName> countHighSupportsRecordByAll(Map map);

    /** 分页模糊查询高支模报警信息 */
    List<HighSupportsRecord> findHighSupportsRecordByPage(Map map);

    HighSupportsRecord findHighSupportsRecordByNew(Map map);

    /** 统计总数 */
    long Total(Map map);

    /** 删除高支模报警信息 */
    int deleteHighSupportsRecord(Map map);
}
